You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed options.env dropping CLAUDE_AGENT_SDK_VERSION (used for User-Agent and telemetry) when a custom environment is supplied, and corrected the Options.env docs to state that the value replaces the subprocess environment rather than merging with process.env
Assistant messages and StopFailure hooks now report error: 'model_not_found' when the selected model doesn't exist or isn't available, instead of the generic 'invalid_request'. The api_error_status field on result messages is now documented.
Added @anthropic-ai/claude-agent-sdk/extract export for bun build --compile consumers: import the platform native binary with with { type: 'file' }, call extractFromBunfs(binPath) to copy it out of the compiled executable's virtual filesystem, and pass the result to options.pathToClaudeCodeExecutable
@anthropic-ai/sdk and @modelcontextprotocol/sdk are now peerDependencies instead of dependencies. Runtime is unaffected (both are bundled); npm/bun/pnpm auto-install them. yarn classic users should add them explicitly for full TypeScript type resolution
Breaking: Removed the v2 session API (unstable_v2_createSession, unstable_v2_resumeSession, unstable_v2_prompt, SDKSession, SDKSessionOptions), deprecated since 0.2.133. Use query() — pass an AsyncIterable<SDKUserMessage> for multi-turn, or options.resume to continue a session.
Breaking: MCP servers now connect in the background by default; sessions start immediately and slow servers report status: "pending" in init until ready. Set MCP_CONNECTION_NONBLOCKING=0 to restore the old behavior of waiting up to 5s before the first query, or mark a server alwaysLoad: true to require it in turn 1.
Breaking: Headless and SDK sessions now use Task tools (TaskCreate / TaskUpdate / TaskGet / TaskList) instead of TodoWrite, deprecated since 0.2.136. Tool consumers should accumulate by task ID instead of replacing a snapshot list.
Surfaced request_id, subagent_type, and task_description on SDK message types and task system events
Headless --sdk-url sessions now exit non-zero with a stderr diagnostic when the remote transport closes permanently (401/403/404 or WS permanent close), instead of silently exiting 0
TaskCreateInput, TaskCreateOutput, TaskGetInput, TaskGetOutput, TaskUpdateInput, TaskUpdateOutput, TaskListInput, and TaskListOutput types are now exported from @anthropic-ai/claude-agent-sdk/sdk-tools and included in the ToolInputSchemas/ToolOutputSchemas unions
Added resolveSettings() (alpha) to inspect effective merged settings without spawning the Claude CLI; reads MDM (plist/HKLM/HKCU) for parity with CLI startup
Deprecated TodoWrite tool — future versions will switch to Task tools (TaskCreate, TaskGet, TaskUpdate, TaskList)
This is a new major version of the Dependency Review Action which updates the runtime to node24. This requires a minimum Actions Runner version v2.327.1 to run.
What's Changed
Add .github/copilot-instructions.md for Copilot coding agent by @ahpook in #1067
renovateBot
changed the title
chore(deps): update dependency @anthropic-ai/claude-agent-sdk to v0.2.121
chore(deps): update dependency @anthropic-ai/claude-agent-sdk to v0.2.122
Apr 28, 2026
renovateBot
changed the title
chore(deps): update dependency @anthropic-ai/claude-agent-sdk to v0.2.122
chore(deps): update dependency @anthropic-ai/claude-agent-sdk to v0.2.123
Apr 29, 2026
renovateBot
changed the title
chore(deps): update dependency @anthropic-ai/claude-agent-sdk to v0.2.123
chore(deps): update all dependencies
Apr 30, 2026
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@anthropic-ai/claude-agent-sdk@0.3.150. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.126→0.3.150^0.2.132→^0.3.00.130.0→0.133.00.130.0→0.133.0v4→v5.0.0Release Notes
anthropics/claude-agent-sdk-typescript (@anthropic-ai/claude-agent-sdk)
v0.3.150Compare Source
v0.3.149Compare Source
options.envdroppingCLAUDE_AGENT_SDK_VERSION(used forUser-Agentand telemetry) when a custom environment is supplied, and corrected theOptions.envdocs to state that the value replaces the subprocess environment rather than merging withprocess.envv0.3.148Compare Source
v0.3.147Compare Source
v0.3.146Compare Source
v0.3.145Compare Source
v0.3.144Compare Source
StopFailurehooks now reporterror: 'model_not_found'when the selected model doesn't exist or isn't available, instead of the generic'invalid_request'. Theapi_error_statusfield on result messages is now documented.@anthropic-ai/claude-agent-sdk/extractexport forbun build --compileconsumers: import the platform native binary withwith { type: 'file' }, callextractFromBunfs(binPath)to copy it out of the compiled executable's virtual filesystem, and pass the result tooptions.pathToClaudeCodeExecutablev0.3.143Compare Source
@anthropic-ai/sdkand@modelcontextprotocol/sdkare nowpeerDependenciesinstead ofdependencies. Runtime is unaffected (both are bundled); npm/bun/pnpm auto-install them. yarn classic users should add them explicitly for full TypeScript type resolutionv0.3.142Compare Source
unstable_v2_createSession,unstable_v2_resumeSession,unstable_v2_prompt,SDKSession,SDKSessionOptions), deprecated since 0.2.133. Usequery()— pass anAsyncIterable<SDKUserMessage>for multi-turn, oroptions.resumeto continue a session.status: "pending"ininituntil ready. SetMCP_CONNECTION_NONBLOCKING=0to restore the old behavior of waiting up to 5s before the first query, or mark a serveralwaysLoad: trueto require it in turn 1.TaskCreate/TaskUpdate/TaskGet/TaskList) instead ofTodoWrite, deprecated since 0.2.136. Tool consumers should accumulate by task ID instead of replacing a snapshot list.request_id,subagent_type, andtask_descriptionon SDK message types and task system events--sdk-urlsessions now exit non-zero with a stderr diagnostic when the remote transport closes permanently (401/403/404 or WS permanent close), instead of silently exiting 0v0.2.141Compare Source
TaskCreateInput,TaskCreateOutput,TaskGetInput,TaskGetOutput,TaskUpdateInput,TaskUpdateOutput,TaskListInput, andTaskListOutputtypes are now exported from@anthropic-ai/claude-agent-sdk/sdk-toolsand included in theToolInputSchemas/ToolOutputSchemasunions@anthropic-ai/sdkdependency to ^0.93.0v0.2.140Compare Source
v0.2.139Compare Source
v0.2.138Compare Source
v0.2.137Compare Source
v0.2.136Compare Source
resolveSettings()(alpha) to inspect effective merged settings without spawning the Claude CLI; reads MDM (plist/HKLM/HKCU) for parity with CLI startupTodoWritetool — future versions will switch to Task tools (TaskCreate,TaskGet,TaskUpdate,TaskList)v0.2.133Compare Source
unstable_v2_createSession/unstable_v2_resumeSession/unstable_v2_prompt) — usequery()instead'Skill'inallowedTools— use theskillsoption insteadv0.2.132Compare Source
applyFlagSettings()in the TypeScript Agent SDK reference and added support fornullon top-level keys to clear flag-settings overridesv0.2.131Compare Source
v0.2.129Compare Source
v0.2.128Compare Source
actions/dependency-review-action (actions/dependency-review-action)
v5.0.0: 5.0.0Compare Source
This is a new major version of the Dependency Review Action which updates the runtime to node24. This requires a minimum Actions Runner version v2.327.1 to run.
What's Changed
New Contributors
Full Changelog: actions/dependency-review-action@v4.9.0...v5.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.